package com.lyh.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 lyh_member_invitation
 * 
 * @author ruoyi
 * @date 2023-04-28
 */
public class MemberInvitation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long memberId;

    /** 剩余推广次数 */
    @Excel(name = "剩余推广次数")
    private Long remainingPromotionTimes;

    /** 推广优先级 */
    @Excel(name = "推广优先级")
    private Long promotionPriority;

    /** 获取推广时充值金额 */
    @Excel(name = "获取推广时充值金额")
    private BigDecimal amount;

    /** 是否逻辑删除 */
    @Excel(name = "是否逻辑删除")
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setRemainingPromotionTimes(Long remainingPromotionTimes) 
    {
        this.remainingPromotionTimes = remainingPromotionTimes;
    }

    public Long getRemainingPromotionTimes() 
    {
        return remainingPromotionTimes;
    }
    public void setPromotionPriority(Long promotionPriority) 
    {
        this.promotionPriority = promotionPriority;
    }

    public Long getPromotionPriority() 
    {
        return promotionPriority;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("remainingPromotionTimes", getRemainingPromotionTimes())
            .append("promotionPriority", getPromotionPriority())
            .append("amount", getAmount())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
